package com.youtellv1.service;

import com.github.pagehelper.PageInfo;
import com.youtellv1.entity.Child;


public interface ChildService {

    PageInfo<Child> findChildByPage(int page, int size);

    Child findChild(Child child);

    Child findById(Integer cid);

    Child findNameByCid (Integer cid);

    Child findByIdService(Integer cid);

    void saveService(Child child);

    void updateFlagService(Integer cid, String flag);

    void updateService(Child child);

    void deleteService(Child child);

    Integer childCountService();
}
